package com.cn.demo4.service.impl;

import com.cn.demo4.entity.UserEntity;
import com.cn.demo4.mapper.UserMapper;
import com.cn.demo4.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 * 用户服务逻辑层
 */
@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<UserEntity> findAll() {

        return userMapper.findAll();
    }
}
